package com.ruoyi.yl.medicalOrderSettings.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ruoyi.yl.medicalOrderSettings.domain.YlMedicalOrderFrequency;
import com.ruoyi.yl.medicalOrderSettings.vo.YlMedicalOrderFrequencyVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 医嘱次数Mapper接口
 *
 * @author Ming
 * @date 2025-10-21
 */
public interface YlMedicalOrderFrequencyMapper extends BaseMapper<YlMedicalOrderFrequency> {

    Page<YlMedicalOrderFrequencyVo> queryList(Page<?> page, @Param("entity") YlMedicalOrderFrequencyVo entity);

    List<YlMedicalOrderFrequencyVo> queryList(@Param("entity") YlMedicalOrderFrequencyVo entity);

    YlMedicalOrderFrequencyVo queryById(@Param("id") Long id);

}
